Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Multi-Format Ads - Banner & Video #3389

Merged
merged 4 commits into from
Jan 28, 2019

Conversation

RajeshRhythmone
Copy link
Contributor

Type of change

  • Feature
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?
  • Other

Description of change

  • Support for Multi-Format Ads - Banner & Video

  • Updated ttl value for Banner & Video.

  • contact email of the adapter’s maintainer: support@rhythmone.com

  • official adapter submission

For any changes that affect user-facing APIs or example code documented on http://prebid.org, please provide:

@mkendall07
Copy link
Member

This pull request fixes 1 alert when merging a703b3d into 14bf872 - view on LGTM.com

fixed alerts:

  • 1 for Useless conditional

Comment posted by LGTM.com

@stale
Copy link

stale bot commented Jan 1, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 1, 2019
@harpere harpere added needs review and removed stale labels Jan 3, 2019
@jsnellbaker jsnellbaker self-requested a review January 4, 2019 15:34
Copy link
Collaborator

@jsnellbaker jsnellbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @RajeshRhythmone

When I was attempting to test these changes with the updated test params in the md file, I wasn't receiving anything from your server (saw a 204 No Content response).

Below is a copy of the request and it's newly formatted payload:
url: http://tag.1rx.io/rmp/72721/0/mvo?z=1r&hbv=1.37.0-pre,1.0.2
payload:

{"id":"1761f3bf7e4a8c","imp":[{"id":"div-gpt-ad-1460505748561-0","bidfloor":0,"secure":0,"banner":{"w":300,"h":250},"ext":{"bidder":{"placementId":"411806","zone":"1r","path":"mvo"}}}],"site":{"domain":"ap.localhost","page":"http://ap.localhost:9999/integrationExamples/gpt/hello_world.html?pbjs_debug=true","ref":"http://ap.localhost:9999/integrationExamples/gpt/hello_world.html?pbjs_debug=true"},"device":{"ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36","devicetype":2,"ip":"","dnt":0},"user":{"ext":{"consent":""}},"at":1,"tmax":1000,"regs":{"ext":{"gdpr":true}}}

Could you please review and see if something is amiss?

@RajeshRhythmone
Copy link
Contributor Author

@jsnellbaker The provided test placement got ended.
Could you please try the below endpoint and do few refresh if you are getting - 204 No Content Response.
endpoint: "//tag.1rx.io/rmp/80184/0/mvo?z=1r"

@jsnellbaker
Copy link
Collaborator

Hi @RajeshRhythmone

I tried to use the new endpoint, however it doesn't seem to be working. I'm still getting a 204 response despite multiple attempts.

Below is a copy of the payload/URL for reference:
http://tag.1rx.io/rmp/80184/0/mvo?z=1r&hbv=1.38.0-pre,1.0.2

{"id":"17a8cfdf77b407","imp":[{"id":"div-gpt-ad-1460505748561-0","bidfloor":0,"secure":0,"banner":{"w":300,"h":250},"ext":{"bidder":{"placementId":"411806","zone":"1r","path":"mvo"}}}],"site":{"domain":"ap.localhost","page":"http://ap.localhost:9999/integrationExamples/gpt/hello_world.html?pbjs_debug=true","ref":"http://ap.localhost:9999/integrationExamples/gpt/hello_world.html?pbjs_debug=true"},"device":{"ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36","devicetype":2,"ip":"","dnt":0},"user":{"ext":{"consent":""}},"at":1,"tmax":1000,"regs":{"ext":{"gdpr":true}}}

@@ -1,12 +1,24 @@
'use strict';

import * as utils from 'src/utils';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Due to a recent merge (see #3435), we now require any imports for a core or modules file (like this adapter file) to use a relative path style.

Can you please update this line here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated the recent merge mentioned. Please validate.
@jsnellbaker if you still see 204 No Content response, please let me know your location.
Just want to make sure ads are targeted to your location.

@mkendall07
Copy link
Member

This pull request fixes 1 alert when merging dd1a71e into 92bfb29 - view on LGTM.com

fixed alerts:

  • 1 for Useless conditional

Comment posted by LGTM.com

@mkendall07
Copy link
Member

This pull request fixes 1 alert when merging c74b7da into 92bfb29 - view on LGTM.com

fixed alerts:

  • 1 for Useless conditional

Comment posted by LGTM.com

@mkendall07
Copy link
Member

This pull request fixes 1 alert when merging 5d2ee53 into 92bfb29 - view on LGTM.com

fixed alerts:

  • 1 for Useless conditional

Comment posted by LGTM.com

@jsnellbaker
Copy link
Collaborator

@RajeshRhythmone Thanks for making the import updates. In terms of the ad delivery, I'm located outside of Philadelphia. If you need any more specifics, let me know and we can chat through e-mail.

@RajeshRhythmone
Copy link
Contributor Author

@jsnellbaker Sure, chat through e-mail should work for me. Let me know your id, will ping you. Thanks

@jsnellbaker
Copy link
Collaborator

Hi @RajeshRhythmone my email is jason.snellbaker@xandr.com

@jsnellbaker
Copy link
Collaborator

@RajeshRhythmone Thanks for sending the customized test params. They worked fine for me.

@jsnellbaker jsnellbaker merged commit c729881 into prebid:master Jan 28, 2019
@RajeshRhythmone
Copy link
Contributor Author

Thanks @jsnellbaker
There was a change request for user-facing APIs. prebid/prebid.github.io#1065
I want to bring this to your attention as well.

pedrolopezmrf pushed a commit to Marfeel/Prebid.js that referenced this pull request Mar 18, 2019
* Support Multi-Format Ads - Banner & Video

* Updated gdpr default value to false, updated test placementId in rhythmoneBidAdapter.md file

* Version updated
jacekburys-quantcast pushed a commit to jacekburys-quantcast/Prebid.js that referenced this pull request May 15, 2019
* Support Multi-Format Ads - Banner & Video

* Updated gdpr default value to false, updated test placementId in rhythmoneBidAdapter.md file

* Version updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants